package com.dushibao.admin.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 *  系统配置 实体类
 *
 * @author zqd
 * @date 2021-12-08 11:16:17
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "SysConfig")
@TableName(value = "t_sys_config")
public class SysConfig {

    private static final long serialVersionUID = 1L;

    /** 主键ID **/
    @ApiModelProperty(value = "主键ID", position = 1)
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 入库时间 **/
    @ApiModelProperty(value = "入库时间", position = 2)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @TableField(value = "addTime")
    private java.util.Date addTime;

    /** 系统配置key值 **/
    @ApiModelProperty(value = "系统配置key值", position = 3)
    @TableField(value = "sys_key")
    private String sysKey;

    /** 系统配置value值 **/
    @ApiModelProperty(value = "系统配置value值", position = 4)
    @TableField(value = "sys_value")
    private String sysValue;

}
